﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using ALS.Component.Tools.AsyncTcp;

namespace ALS.Communication.Domain.Adapters
{
    /// <summary>
    /// 适配器接口
    /// </summary>
    public interface IAdapter
    {
        /// <summary>
        /// 处理
        /// </summary>
        /// <param name="datagram"></param>
        /// <param name="asyncTcpServer"></param>
        /// <param name="tcpClient"></param>
        void Process(IEnumerable<byte> datagram, AsyncTcpServer asyncTcpServer, TcpClient tcpClient);
    }
}
